﻿using System;

namespace Arch.Common.Mapping
{
    public interface ITypeResolver
    {
        Type Resolve(Type parent);
        Type Resolve<T>() where T : class;
        object CreateInstance(Type parent);
        T CreateInstance<T>() where T : class;
    }
}
